from enum import Enum

DeviceEvent = Enum('DeviceEvent', (
        'CONNECTED_ONLINE',
        'CONNECTED_OFFLINE',
        'STATE_CHANGE_ONLINE',
        'STATE_CHANGE_OFFLINE',
        'DISCONNECTED',
        'FORCE_AVAILABLE',
        'AVAILABLE_CHECK_PASSED',
        'AVAILABLE_CHECK_FAILED',
        'AVAILABLE_CHECK_IGNORED',
        'ALLOCATE_REQUEST',
        'FORCE_ALLOCATE_REQUEST',
        'FREE_AVAILABLE',
        'FREE_UNRESPONSIVE',
        'FREE_UNAVAILABLE',
        'FREE_UNKNOWN'))